<?php htmlTemplate('admin_header_frame.php');?>
<div class="title">赛事列表
<a  href="<?php echo ZSM_WWW_HOST.'admin.php/admin/video/matchsset/'?>" class="title_button">添加赛事</a>
</div>
<table width="100%" cellspacing="1" cellpadding="3" id="listTable">
  <tbody>
  <tr>
	<td colspan="8">
	<form action="">	
	日期:			
	<input 
		id="stimeline" 
		name="stimeline" 
		type="text" 
		style="width:85px;"
		value='<?php 
		if (Http::get('stimeline')){
			echo Http::get('stimeline');
		}
		?>' class='date demo_time'  
		onClick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"
		>-<input 
		id="etimeline" 
		name="etimeline" 
		type="text" 
		style="width:85px;"
		value='<?php 
		if (Http::get('etimeline')){
			echo Http::get('etimeline');
		}
		?>' class='date demo_time'  
		onClick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"
		>
	地点<input type="text" name="space" id="space" value="<?php echo Http::get('space');?>" style="width:100px;"/>
	类型<input type="text" name="type" id="type" value="<?php echo Http::get('type');?>" style="width:100px;"/>
	名称<input type="text" name="name" id="name" value="<?php echo Http::get('name');?>" style="width:200px;"/>
	
	
	<input type="submit" value="搜 索" class="submit"> 
	
	</form>
	</td>
  </tr>
  
  <tr>
  	<th align="center">
  	    <a href="javascript:;" id="order_id" onclick="orderBy('id','DESC')">id</a>  	
  	</th>  
    <th align="center">赛事名称</th>   
    <th align="center">类型</th>    
    <th align="center">地点</th>    
    <th align="center"><a href="javascript:;" id="order_stime" onclick="orderBy('stime','DESC')">开始时间</a></th>
    <th align="center"><a href="javascript:;" id="order_etime" onclick="orderBy('etime','DESC')">结束时间</a></th>    
    <th align="center">操作</th>
  </tr>
	<?php 
	foreach ($rs['list'] as $k=>$v):
	?>
   <tr>
    <td align="center"> <?php echo $v['id'];?></td>    
    <td align="center">   <?php echo $v['name'];?>
    </td>   
     <td align="center">   <?php echo $v['type'];?>
    </td> 
      
     <td align="center">   <?php echo $v['space'];?>
    </td> 
    
     <td align="center">   <?php echo $v['stime'];?>
    </td> 
     <td align="center">   <?php echo $v['etime'];?>
    </td>      
    <td align="center">  
      <a title="编辑" href="<?php echo ZSM_WWW_HOST.'admin.php/admin/video/matchsset/id/'.$v['id'];?>">编辑</a> |
      <a title="移除" onclick="getUrl('<?php echo ZSM_WWW_HOST.'admin.php/admin/video/matchsset/do/del/id/'.$v['id'];?>',1,1)" href="javascript:;">移除</a>
    </td>   
  </tr>
  <?php endforeach;?>
  
 
 
  </tbody>
</table>
<?php htmlTemplate('admin_footer_frame.php');?>
